﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace dtu_lan_winRT_app.Model
{
    public class News : NotifyBase
    {
        public static ObservableCollection<News> newsfeed = new ObservableCollection<News>();
        public static ObservableCollection<News> Newsfeed { get { return newsfeed; } }

        public string Content { get; internal set; }

        public News(string content)
        {
            this.Content = content;
            newsfeed.Add(this);
            NotifyPropertyChanged("NewsFeed");
        }
    }
}
